// api.js
import request from '@/utils/request.js';

//Post的示例代码  也是登录
export const save = (data) => {
    return request({
        url: '/countdown/save',
		method: 'POST',
		data
    });
};

export const get = () =>{
	return request({
	    url: '/countdown/get',
		method: 'GET'
	});
};

export const deleteCountdown = () =>{
	return request({
	    url: '/countdown/delete',
		method: 'DELETE'
	});
};